package com.gbq.boot.web.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author aqian666
 * @since 2019-09-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("blog_comment")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文章id
     */
    @TableField("articleId")
    private Integer articleId;

    /**
     * 评论内容
     */
    private String comment;

    /**
     * 评论时间
     */
    @TableField("createTime")
    private String createTime;

    /**
     * 评论人
     */
    @TableField("byManagerId")
    private Integer byManagerId;

    /**
     * 被评论人
     */
    @TableField("forManagerId")
    private Integer forManagerId;


}
